<%-- 
    Document   : regnote
    Created on : new Date(), 20:21:43
    Author     : ccp <568093091@qq.com>
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <link rel="stylesheet" type="text/css" href="front/css/home-page.css"/>
        <link rel="stylesheet" type="text/css" href="front/css/attendanceHistory.css"/>
        <link rel="stylesheet" type="text/css" href="front/css/jquery.mCustomScrollbar.css"/>
        <script src="front/js/jquery-1.11.2.js"></script>
        <script src="front/js/jquery.easing.1.3.js"></script>
        <script src="front/js/jquery.mCustomScrollbar.concat.min.js"></script>
        <script src="front/js/Velocity.js"></script>
        <script src="front/js/home-page.js"></script>
        <script src="front/js/attendanceHistory.js"></script>
        <title>首页</title>
    </head>
    <body class="all-page attendanceHistory">
        <div class="header">
            <ul class="parent">
                <li><a href="login">首页</a></li>
                <li><a href="#">个人信息</a>
                    <ul>
                        <li><a href="/LabRegistration/modify">修改个人信息</a></li>
                        <li><a href="/LabRegistration/modifyPassword">修改个人密码</a></li>
                        <li><a href="/LabRegistration/borrowInformation">查看借阅信息</a></li>
                        <li><a href="/LabRegistration/attendanceHistory">查看签到历史</a></li>
                    </ul>
                </li>
                <li><a href="#">文件中心</a>
                    <ul>
                        <li><a href="upload">上传文件</a></li>
                        <li><a href="chackFile">查找文件</a></li>
                    </ul>
                </li>
                <li><a href="GoodsCenter">物品中心</a>
                    <ul>
                    </ul>
                </li>
                <li><a href="#">项目管理</a>
                    <ul>
                        <li><a href="projectManagement">所有项目</a></li>
                        <li><a href="myProject">我的项目</a></li>
                    </ul>
                </li>
                <li><a href="project-register">活动报名</a>
                </li>
                <li><a href="gitAndBlog.html">分享交流</a>
                    <ul></ul>
                </li>			
            </ul>
            <div class="current-and-exit">
                <a class="exit" href="loginout">退出登录</a>
                <p class="current-user">当前用户：${loginUser.getUserName()}</p>
            </div>
        </div>
        <p class="copyrights">copyrights © 2015-2016 SCAU E-TOP</p>

        <div class="history">
            <p class="title">签到历史</p>
            <div class="content">

                <c:forEach items="${registrations}" var="reg" varStatus="s">
                    <c:choose>
                        <c:when test="${s.count==1}"><p class="current">${reg}</p></c:when>
                        <c:otherwise><p>${reg}</p></c:otherwise>
                    </c:choose>
                </c:forEach>
            </div>			
        </div>
    </body>
</html>

